package org.example.controller;

import org.example.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;


//@Component
//@Repository
//@Service
@Controller
public class UserController {

    @Autowired
//    @Resource
    private UserService userService;


    public void addUser(){
        userService.save();
    }
}
